package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.AlarmMapper;
import com.ten.jinxiancun.server.AlarmServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class AlarmServerImpl implements AlarmServer {
    @Autowired
     AlarmMapper ala;
    @Override
    public List<Map<String, Object>> getAllAlarm(Map<String, Object> map) {
        return ala.getAllAlarm(map);
    }

    @Override
    public Integer count(Map<String, Object> map) {
        return ala.count(map);
    }

    @Override
    public Integer insert(Map<String, Object> map) {
        return ala.insert(map);
    }

    @Override
    public List<Map<String, Object>> getAdminUserFind(Map<String, Object> map) {
        return ala.getAdminUser(map);
    }
}
